//面向对象编程/
//收货地址数据表对象模型
module.exports = function Cart() {
	//定义变量
	var address_Id; //主键
	var address_city; //收货地址 城市-区-街道
	var address_details;  //收货地址详细信息
	var address_code; //邮编
	var customer_name; //收货人
	var customer_code; //收货人身份证
	var mobilephone;  //手机
	var telphone;  //固定电话
	var isDefault;   //默认地址
	var customer_Id; //当前收货地址属于的账号ID

	this.setaddress_Id = function(x) {
		address_Id = x;
	}

	this.getaddress_Id = function() {
		return address_Id;
	}

	this.setaddress_city = function(x) {
		address_city = x;
	}

	this.getaddress_city = function() {
		return address_city;
	}

	this.setaddress_details = function(x) {
		address_details = x;
	}

	this.getaddress_details = function() {
		return address_details;
	}

	this.setaddress_code = function(x) {
		address_code = x;
	}

	this.getaddress_code = function() {
		return address_code;
	}

	this.setcustomer_name = function(x) {
		customer_name = x;
	}

	this.getcustomer_name = function() {
		return customer_name;
	}

	this.setcustomer_code = function(x) {
		customer_code = x;
	}

	this.getcustomer_code = function() {
		return customer_code;
	}

	this.setmobilephone = function(x) {
		mobilephone = x;
	}

	this.getmobilephone = function() {
		return mobilephone;
	}

	this.settelphone = function(x) {
		telphone = x;
	}

	this.gettelphone = function() {
		return telphone;
	}

	this.setisDefault = function(x) {
		isDefault = x;
	}

	this.getisDefault = function() {
		return isDefault;
	}

	this.setcustomer_Id = function(x) {
		customer_Id = x;
	}

	this.getcustomer_Id = function() {
		return customer_Id;
	}
}